$(document).ready(function() {
    var urlparam = window.location.search.substr(1);
    var up = urlparam.split('&');
    var umap = {};
    for(var i in up){
    	umap[up[i].split('=')[0]] = up[i].split('=')[1];
    }
    if(umap['pagename'] == '12366zsk'){
    	document.title = '12366知识库';
    	$('#leftFrame').attr('src','12366zsk_left.jsp');
    	$('#mainFrame').attr('src','http://93.16.16.206/wzgl/wz/chnlmodel.do?classid=31');
    }else if(umap['pagename'] == 'dzdak'){
    	document.title = '电子档案库';
    	$('#leftFrame').attr('src','dzdak_left.jsp');
    	$('#mainFrame').attr('src','dzdakpage/dzdakMain.html');
    }else if(umap['pagename'] == 'yjmtd'){
    	document.title = '一键免填单';
    	$('#leftFrame').attr('src','yjmtd_left.jsp');
    	$('#mainFrame').attr('src','main.html');
    }else if(umap['pagename'] == 'tjfxpt'){
    	document.title = '统计分析平台';
    	$('#leftFrame').attr('src','reportcenter_left.jsp');
    	$('#mainFrame').attr('src','reportpage/reportMain.html');
    }else if(umap['pagename'] == 'xtszgl'){
    	document.title = '系统设置管理';
    	$('#leftFrame').attr('src','sysset_left.jsp');
    	$('#mainFrame').attr('src','syssetpage/swjg_settings.html');
    }
});